package com.bana.sys.socket;

import com.bana.sys.code.SendResult;

public class SocketResult<T> {

    private SendResult result;
    private byte[] receive;
    private T data;

    public SendResult getResult() {
        return result;
    }

    public void setResult(SendResult result) {
        this.result = result;
    }

    public byte[] getReceive() {
        return receive;
    }

    public void setReceive(byte[] receive) {
        this.receive = receive;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
